package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Appointment;

import java.util.List;

public interface AppointmentService extends IService<Appointment> {
    List<Appointment> getTodayAppointments(Integer doctorId);

    boolean updateStatus(Integer id, String status);

    // 新增：根据患者姓名查询预约
    List<Appointment> getAppointmentsByPatientName(String patientName);
}
